<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <title>Paper games</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <style type="text/css" media="screen">
        html, body, #flashContent {
            height: 100%;
        }
        body {
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
    </style>
    <script type="text/javascript" src="js/swfobject.mini.js"></script>
    <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript">
        var bTypes = ['safari', 'opera', 'msie', 'mozilla'];

        function game_getBrowserType() {
            for (var i in bTypes) {
                if (jQuery.browser[ bTypes[i] ]) {
                    return bTypes[i];
                }
            }

            return '';
        }

        function game_reloadPage() {
            document.location.href = document.location.href;
        }
    </script>
</head>
<body>
<div id="flashContent">
    <div id="alternativeContent">
        <h1>Не найден плагин Adobe Flash player</h1>

        <p><a href="http://www.adobe.com/go/getflashplayer"><img
                src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
                alt="Get Adobe Flash player"/></a></p>
    </div>
</div>
<div id="backendContent" style="display: none;"/>
<script type="text/javascript">
    var flashvars = {
        config_url: 'flash/flashSettings.xml?v=20120120-0930',
        app_context_path: '${pageContext.request.contextPath}',
        lc_rand: Math.round(10000 * Math.random())
    };
    var params = {wmode: 'gpu'};
    var attributes = {};

	swfobject.embedSWF("flash/papergames.swf?v=20120120-0930", "flashContent", "100%", "100%", "10.0.0", "flash/expressInstall.swf", flashvars, params, attributes);
</script>
</body>
</html>
